<extend name="Base/common"/>

<block name="body">
    <!-- 标签页导航 -->
    <div class="span9 page_message">
        <section id="contents">
            <include file="Addons/_nav"/>
            <div class="tab-content">
                <!-- 表单 -->
                <div class="main-title">
                    <h2>新增中级管理员</h2>
                </div>
                <form action="{:U('addAdmin')}" method="post" class="form-horizontal">
                    <div class="form-item">
                        <label class="item-label">用户名<span class="check-tips">（用户名会作为默认的昵称）</span></label>

                        <div class="controls">
                            <input type="text" class="text input-large" name="username" value="">
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">密码<span class="check-tips">（用户密码不能少于6位）</span></label>

                        <div class="controls">
                            <input type="password" class="text input-large" name="password" value="">
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">确认密码</label>

                        <div class="controls">
                            <input type="password" class="text input-large" name="repassword" value="">
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">邮箱<span class="check-tips">（用户邮箱，用于找回密码等安全操作）</span></label>

                        <div class="controls">
                            <input type="text" class="text input-large" name="email" value="">
                        </div>
                    </div>
                    <div class="form-item">
                        <button class="btn submit-btn" id="submit" type="submit"
                                target-form="form-horizontal">确 定
                        </button>
                        <!--<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>-->
                    </div>
                </form>
                <include file="Addons/weixinPreview"/>
            </div>
        </section>
</block>
